package com.sheledon.flyCat.network.socket.http.enum_;

public enum HttpStatus {
    OK("OK","200"),
    BAD_REQUEST("Bad Request","400"),
    SERVER_ERROR("Internal Server Error","500"),
    NOT_FOUND("Not Found","404");
    private String value;
    private String name;
    HttpStatus(String name,String value) {
        this.name = name;
        this.value = value;
    }
    @Override
    public String toString() {
        return value+" "+name;
    }
}
